@mixin pmSize($type, $size) {
	$t: '';
	@if $type == p {
		$t: padding;
	} @else {
		$t: margin;
	}
	.#{$type}-#{$size} {
		box-sizing: border-box;
		#{$t}: #{$size}rpx;
	}
	@each $direction in left, right, top, bottom {
		.#{$type}-#{$direction}-#{$size} {
			box-sizing: border-box;
			#{$t}-#{$direction}: #{$size}rpx;
		}
	}
	@each $direction in tb, lr {
		.#{$type}-#{$direction}-#{$size} {
			box-sizing: border-box;
			@if $direction == tb {
				#{$t}-top: #{$size}rpx;
				#{$t}-bottom: #{$size}rpx;
			} @else {
				#{$t}-left: #{$size}rpx;
				#{$t}-right: #{$size}rpx;
			}
		}
	}
}

@for $size from 1 through 40 {
	@if $size % 2 == 0 {
		@include pmSize(p, $size);
		@include pmSize(m, $size);

		.fs-#{$size} {
			font-size: #{$size}rpx !important;
		}
		@if $size <= 40 {
			.radius-#{$size} {
				border-radius: #{$size}rpx;
				overflow: hidden;
			}
		}
	}
}
.work-break-all {
	word-break: break-all;
}
.p-left-60 {
	padding-left: 60rpx;
}
.fs-80 {
	font-size: 80rpx;
}
.fs-70 {
	font-size: 70rpx;
}
.fs-48 {
	font-size: 48rpx;
}
.flex {
	display: flex;
}

.flex-1 {
	flex: 1;
}

.align-item-center {
	align-items: center;
}

.justify-content-center {
	justify-content: center;
}
.justify-content-sb {
	justify-content: space-between;
}

.c-fff {
	color: #fff;
}
.c-9B4B10 {
	color: #9b4b10;
}
.c-FFDF02 {
	color: #ffdf02;
}
.c-999 {
	color: #999;
}
.c-B92022 {
	color: #b92022;
}
.c-103104105 {
	color: rgb(103, 104, 105);
}
.c-9798100 {
	color: rgb(97, 98, 100);
}
.bg-B92022 {
	background-color: #b92022;
}
.bg-E9E9E9 {
	background-color: #e9e9e9;
}
.bg-fff {
	background-color: #fff;
}

.blod {
	font-weight: 600;
}
.t-c {
	text-align: center;
}
.t-r {
	text-align: right;
}
.ellipsis-2 {
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-all;
}
.ellipsis-3 {
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	word-break: break-all;
}

.show-down {
	box-shadow: 0rpx 0 14rpx -3rpx #ccc;
}

@import '@/uni_modules/uview-ui/theme.scss';
@import '@/uni_modules/uview-ui/index.scss';
